package com.legendshop.openportal.sdk.model.message;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 查询消息推送
 */
@Data
@Accessors(chain = true)
public class MessageGetResponse<T> implements Serializable {

    /**
     * 消息id
     */
    private Long id;

    /**
     * 类型ID
     */
    private Integer typeId;

    /**
     * 消息内容
     */
    private T content;

    /**
     * 录入时间
     */
    private Date time;

}
